package com.atguigu.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1.整合Mybatis-Plus
 * 1)导入依赖
 * <dependency>
 *     <groupId>com.baomidou</groupId>
 *     <artifactId>mybatis-plus-boot-starter</artifactId>
 *     <version>3.4.1</version>
 * </dependency>
 *
 * 2.逻辑删除
 * 1)配置全局的逻辑删除规则
 * 实体类加上逻辑删除注解@TableLogic
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallProductApplication {

	public static void main(String[] args) {
		SpringApplication.run(GulimallProductApplication.class, args);
	}

}
